package com.sunny.thread.synchronizedpack; /**
 * Created by Sunny on 2016/11/16.
 */

/**
 * a
 *
 * @author sunc
 * @date 2016-11-16-9:57
 */
public class ThreadA extends Thread{

    private HasSelfPrivateNum privateNum;


    public ThreadA(HasSelfPrivateNum privateNum){
        this.privateNum = privateNum;
    }
    @Override
    public void run() {
        super.run();
        privateNum.addI("a");
    }
}
